home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / pcbre100.zip / PCBRESET.DOC < prev    next >
Text File  |  1992-05-18  |  3KB  |  86 lines

  1. PCBRESET.DOC - PCBReset.EXE v1.00 documentation - 5/18/92
  2.  
  3.  
  4. Purpose:
  5.  
  6.          To determine if the PCBOARD.SYS file was left in its on-line
  7. state or its off-line state.
  8.  
  9.          I use this little program with my Fido front-end mailer to
  10. determine if the BBS/computer crashed on the last caller.  If it did,
  11. the PCBOARD.SYS file will show the caller as still on-line.  Meaning,
  12. PCBoard needs to be recycled BEFORE the front-end is loaded.  Otherwise,
  13. PCBoard will let the next caller in without asking for a name and
  14. password!  It will assume that the person is the previous caller.  That
  15. can be REAL SCARY if the last caller was YOU!!  You wouldn't want some-
  16. one that you didn't know fiddling around in your BBS with full Sysop
  17. access...
  18.  
  19.         This has been tested with PCBoard v14.5a, but I *think* that it
  20. will work with any 14.x version of PCBoard.
  21.  
  22.  
  23. Note: PCBoard is a registered trademark of Clark Development Company, Inc.
  24.  
  25.  
  26. Syntax:
  27.  
  28.          PCBReset PCBSysPath
  29.  
  30.  
  31. Example:
  32.  
  33.          PCBReset C:\PCB\PCBOARD.SYS
  34.  
  35.          Here is the batch file that I use in my AUTOEXEC.BAT to call
  36. up my BBS.  It is included as the file B.BAT
  37.  
  38.      C:                                 { log to the correct drive        }
  39.      CD\IM                              { change to my front-end's subdir }
  40.      PCBRESET \PCB\PCBOARD.SYS          { Did it crash?                   }
  41.      IF ERRORLEVEL == 1 BOARD           { Yes...recycle PCBoard           }
  42.      IMRUN                              { No...load InterMail             }
  43.  
  44.          This arrangement assumes that your BOARD.BAT file will load the
  45. front-end mailer when PCB exits.
  46.  
  47.  
  48. Results:
  49.  
  50.          An errorlevel of 1 is returned if a caller is still logged in.
  51.          An errorlevel of 2 is returned if PCBOARD.SYS could not be opened.
  52.          An errorlevel of 3 is returned if PCBOARD.SYS could not be read.
  53.  
  54.  
  55. Disclaimer:
  56.  
  57.         No warranties are expressed or implied concerning this
  58. program.  It is offered in an AS IS condition.  The author and
  59. distributors of this program are not liable for the direct or
  60. consequential loss or damages that may have resulted from its use
  61. and/or misuse.  By using this program, you agree to these terms.
  62.  
  63.  
  64. PCBReset is:  (C) Copyright 1992 Christopher E. Long, All Rights Reserved
  65.  
  66.  
  67.          This program is Freeware.  That means that I retain the rights
  68. to it, but I do not require compensation for its use.  However, I do ask
  69. that if you find it useful, send me a postcard!  That's all I ask.
  70.  
  71.  
  72. Mailing address:        Christopher E. Long
  73.                         632 Camelia Street
  74.                         Atlantic Beach, FL 32233
  75.  
  76. Internet address:       chris.long@medinfo.jax.fl.us
  77.  
  78. Phone (data):           Visionary Endeavors BBS
  79.                         904-249-9515
  80.                         1200 - 16,800 bps
  81.                         US Robotics HST Dual Standard 16.8
  82.                         8 data bits, 1 stop bit, no parity
  83.                         FidoNet 1:112/10 file requests all hours
  84.                         located in Atlantic Beach, Florida
  85.  
  86.